package com.itcase.interfacedemo.Demo01;

/*
要写注释哦!!!
*/
public class Frog extends Animal implements Swim{
    public Frog() {
    }

    public Frog(String name, String color) {
        super(name, color);
    }

    @Override
    public void eat() {
        System.out.println("青蛙吃小蝌蚪");
    }

    @Override
    public void swimming() {
        System.out.println("蛙泳式~~");
    }
}
